//
//  UIViewController+BackButtonHandler.h
//  FunSDKDemo
//
//  Created by creatbot on 2022/4/21.
//  Copyright © 2022 creatbot. All rights reserved.
//
#import <UIKit/UIKit.h>

@protocol BackButtonHandlerProtocol <NSObject>
@optional
// Override this method in UIViewController derived class to handle 'Back' button click
-(BOOL)bb_backGestureAction;

- (BOOL)bb_backBarButtonItemDidClickAction;
@end

@interface UIViewController (BackButtonHandler) <BackButtonHandlerProtocol>
//是否禁用手势
@property (nonatomic, assign) BOOL hzs_interactivePopDisabled;
//手势返回的最大交互距离，默认全屏
@property (nonatomic, assign) CGFloat hzs_interactiveDistanceToLeftEdge;
@end

